﻿using System.ComponentModel.DataAnnotations;

namespace IntoStationSystem.Entity
{
    /// <summary>
    /// 每个产品型号的配置，包括参数，启用的外部设备
    /// </summary>
    public class ProductModel
    {
        [Key]
        public int Count { get; set; }
        /// <summary>
        /// 型号名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 索引
        /// </summary>
        public int Index { get; set; }
        /// <summary>
        /// 参数设置float
        /// </summary>
        public float RealValue { get; set; }
        /// <summary>
        /// 参数描述float
        /// </summary>
        public string RealDesc { get; set; }
        /// <summary>
        /// 参数设置byte
        /// </summary>
        public byte ByteValue { get; set; }
        /// <summary>
        /// 参数描述byte
        /// </summary>
        public string ByteDesc { get; set; }
    }
}
